package case1.model;

import case1.core.observer.BPMObserver;
import case1.core.observer.BeatObserver;

/**
 * description:
 * 心跳模型接口
 * @author Yuanml on 2020/11/11 11:08
 */
public interface HeartModelInterface {
    int getHeartRate();
    void registerObserver(BeatObserver o);
    void removeObserver(BeatObserver o);
    void registerObserver(BPMObserver o);
    void removeObserver(BPMObserver o);

}
